package com.trace.app.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.trace.app.entity.Comment;
import com.trace.app.entity.ResponseResult;


/**
 * (Comment)表服务接口
 *
 * @author lionkliu
 * @since 2024-04-21 13:27:06
 */
public interface CommentService extends IService<Comment> {
    ResponseResult selectPage(Integer pageNum, Integer pageSize);

    ResponseResult selectOne(Integer id);

    ResponseResult insertOne(Comment comment);

    ResponseResult deleteById(Integer id);

    ResponseResult updateOne(Comment comment);

    ResponseResult listByProId(Integer proId);

    ResponseResult search(Integer pageNum, Integer pageSize, Integer userId, Integer proId, String content);
}

